<template>
	<!-- 付费精品 -->
	<list-box :name="name"  :word="word" :params="params" >
		<course-item v-for="(item,index) in  courseData " :key="index" :item="item"></course-item>
	</list-box>
</template>

<script>
	import listBox from './list-box.vue'
	import courseItem  from '@/components/common/course-item.vue'
	import courseData from '@/mock/courseData.js'
	export default {
		components:{listBox,courseItem},
		props: {
			name:{
				type:String,
				default:'',
				
			},
			word:{
				type:String,
				default:''
			},
			courseData:{
				type:Array,
				default:()=> courseData
			},
			params:Object   // 来自index.vue的父组件的数据params  数据
		}
	}
</script>

<style>
</style>
